package com.zhiyou100.weather.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

@Data
@ToString
@TableName("city")
public class City implements Serializable {

    //城市ID
    @TableId(type = IdType.AUTO)

    @TableField("id")
    private String id;
    //城市省份

    @TableField("provinceZh")
    private String provinceZh;
    //城市名

    @TableField("leaderZh")
    private String leaderZh;
    //区名

    @TableField("cityZh")
    private String cityZh;
    private String countryZh;
    private String countryEn;
    private String provinceEn;
    private String leaderEn;
    private String cityEn;
    private String lat;
    private String lon;
}
